// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsLockDao;
import com.liuxinlong.modules.entity.AssetsLock;
import com.liuxinlong.modules.mapper.AssetsLockMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsLockDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年03月01日
 */
@Service
public class AssetsLockDaoImpl extends ServiceImpl<AssetsLockMapper, AssetsLock> implements AssetsLockDao {

    @Override
    public List<AssetsLock> pageAssetsLockInfo(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsLockInfo(queryParam);
    }

    @Override
    public int getAssetsLockInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsLockInfoCount(queryParam);
    }

    @Override
    public AssetsLock getLatestRecord() {
        return baseMapper.getLatestRecord();
    }

}
